package com.briup.cloud.framework.resource.config;

/**
 * @Author guomiao
 * @Date 2022/8/7 22:14
 */

public class TokenHolder {
    private static final ThreadLocal<String> currentToken = new ThreadLocal<>();
    public static void setCurrentToken(String token){
        currentToken.set(token);
    }
    public static String getCurrentToken(){
        return currentToken.get();
    }
}
